package com.apexedu.eas.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * TyxDzjl entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "TYX_DZJL")
public class TyxDzjl implements java.io.Serializable {

	// Fields

	private Long id;
	private Integer dzrq;
	private Long dzjg;
	private Long yxxtjfbs;
	private Long ylxtjfbs;
	private Double yxxtje;
	private Double ylxtje;
	private Date tjsj;

	// Constructors

	/** default constructor */
	public TyxDzjl() {
	}

	/** minimal constructor */
	public TyxDzjl(Long id) {
		this.id = id;
	}

	/** full constructor */
	public TyxDzjl(Long id, Integer dzrq, Long dzjg, Long yxxtjfbs,
			Long ylxtjfbs, Double yxxtje, Double ylxtje, Date tjsj) {
		this.id = id;
		this.dzrq = dzrq;
		this.dzjg = dzjg;
		this.yxxtjfbs = yxxtjfbs;
		this.ylxtjfbs = ylxtjfbs;
		this.yxxtje = yxxtje;
		this.ylxtje = ylxtje;
		this.tjsj = tjsj;
	}

	// Property accessors
	@Id
	@Column(name = "ID", unique = true, nullable = false, precision = 16, scale = 0)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "DZRQ", precision = 8, scale = 0)
	public Integer getDzrq() {
		return this.dzrq;
	}

	public void setDzrq(Integer dzrq) {
		this.dzrq = dzrq;
	}

	@Column(name = "DZJG", precision = 12, scale = 0)
	public Long getDzjg() {
		return this.dzjg;
	}

	public void setDzjg(Long dzjg) {
		this.dzjg = dzjg;
	}

	@Column(name = "YXXTJFBS", precision = 10, scale = 0)
	public Long getYxxtjfbs() {
		return this.yxxtjfbs;
	}

	public void setYxxtjfbs(Long yxxtjfbs) {
		this.yxxtjfbs = yxxtjfbs;
	}

	@Column(name = "YLXTJFBS", precision = 10, scale = 0)
	public Long getYlxtjfbs() {
		return this.ylxtjfbs;
	}

	public void setYlxtjfbs(Long ylxtjfbs) {
		this.ylxtjfbs = ylxtjfbs;
	}

	@Column(name = "YXXTJE", precision = 16)
	public Double getYxxtje() {
		return this.yxxtje;
	}

	public void setYxxtje(Double yxxtje) {
		this.yxxtje = yxxtje;
	}

	@Column(name = "YLXTJE", precision = 16)
	public Double getYlxtje() {
		return this.ylxtje;
	}

	public void setYlxtje(Double ylxtje) {
		this.ylxtje = ylxtje;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "TJSJ", length = 7)
	public Date getTjsj() {
		return this.tjsj;
	}

	public void setTjsj(Date tjsj) {
		this.tjsj = tjsj;
	}

}